package models

import "time"

type MODEL struct {
	ID        uint      `gorm:"primary_key" json:"id"`               // 主键 id
	CreatedAt time.Time `json:"created_at" gorm:"column:created_at"` // 创建时间
	UpdateAt  time.Time `json:"update_at" gorm:"column:update_at"`   // 更新时间
}

type Page struct {
	Page  int    `form:"page"`
	Limit int    `form:"limit"`
	Sort  string `form:"sort"`
}
